package com.wsc.tool;

import com.wsc.domain.CardData;
import org.springframework.ai.tool.annotation.Tool;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Administrator
 */
@Component
public class MyTool {
@Tool(description = "获取套餐信息 从这些信息中推荐合适的卡 同时当用户需要全部套餐信息时 也可以将这些数据返回")
    public List<CardData> getCardData() {
         List<CardData> list = new ArrayList<>();
         list.add(new CardData("经济卡", 39, "10", 100, "无", "无", "首月半价"));
         list.add(new CardData("畅享全家享", 99, "50", 500, "200M宽带+2张副卡", "12个月", "送视频会员月卡"));
         list.add(new CardData("全球通尊享", 199, "不限量", 2000, "国际漫游+5G有限", "24个月", "机场贵宾厅2次/年"));
         list.add(new CardData("学生青春卡",59, "30GB", 200, "校园网加速", "6个月", "免流特定APP"));
         list.add(new CardData("超级会员卡", 299, "不限量", 5000, "无", "12个月", "无"));
         list.add(new CardData("电话卡", 36, "10", 4000, "无", "12个月", "无"));


        return list;
    }
}
